package com.woniuxy.woniuticket.pojo;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Document(indexName = "woniuticket",type = "minfo")
public class CinemaInfo {
   @Id
    private Integer id;

    private String logo;

    private String copyright;
   @Field(type=FieldType.Text,searchAnalyzer = "ik_max_word")
    private String address;

    private String facility;

    private String img;

    private String coordinate;

    private ManagementPackage managementPackage;

}